<?php
class Article extends AppModel {

	var $name = 'Article';
	var $actsAs = array(
		'Sluggable' => array('separator' => '_', 'overwrite' => true),
		'SoftDeletable' => array()
		);
	//'SoftDeletable' => array()

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	/*var $belongsTo = array(
			'User' => array('className' => 'User',
								'foreignKey' => 'user_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);*/

	var $hasMany = array(
			'Upload' => array('className' => 'Upload',
								'foreignKey' => 'article_id',
								'dependent' => false,
								'conditions' => '',
								'fields' => '',
								'order' => 'Upload.order ASC',
								'limit' => '',
								'offset' => '',
								'exclusive' => '',
								'finderQuery' => '',
								'counterQuery' => ''
			)
	);

}
?>